package com.antdesignbackend.backend.activiti.processlist.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 配置流程
 *
 * @author 不二
 * @email processlist
 * @date 2020-08-11 16:53:34
 */

@Data
@TableName(value = "t_processlist")
public class ProcessList implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//流程Id
	@TableField(value = "ProcessId")
	private Integer processId;
	//审核顺序，依次审核
	@TableField(value = "Sort")
	private Integer sort;
	//名称
	@TableField(value = "Remark")
	private String remark;
	//创建人
	@TableField(value = "CreateBy")
	private String createBy;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CreateTime")
	private Date createTime;
	//修改人
	@TableField(value = "UpdateBy")
	private String updateBy;
	//修改时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "UpdateTime")
	private Date updateTime;
	/**
	 * 审批方式 1依次审批，2会签，3或签
	 */
	@TableField("Types")
	private Integer types;
}
